<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Objective-C API Reference for iOS/macOS: JCSDKOC/JCSDKOC/JCMediaDevice/JCMediaDevice.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Objective-C API Reference for iOS/macOS
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_264cb3eb38195563df8d4ec61e97ef66.html">JCSDKOC</a></li><li class="navelem"><a class="el" href="dir_8909aba9135893f62ff3b0388ad9e7d6.html">JCSDKOC</a></li><li class="navelem"><a class="el" href="dir_e5a22641eb98ea264f23c9facbe8253f.html">JCMediaDevice</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">JCMediaDevice.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_j_c_media_device_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  JCMediaDevice.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  JCSDK-OC</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Created by maikireton on 2017/8/11.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  Copyright © 2017年 juphoon. All rights reserved.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_j_c_client_8h.html">JCClient.h</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_j_c_media_device_video_canvas_8h.html">JCMediaDeviceVideoCanvas.h</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_j_c_media_device_callback_8h.html">JCMediaDeviceCallback.h</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_j_c_media_device_constants_8h.html">JCMediaDeviceConstants.h</a>&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_camera.html">   23</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_j_c_media_device_camera.html">JCMediaDeviceCamera</a> : NSObject</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_camera.html#ad6131a5f1d9159e02c58e6a5a89d65e6">   28</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString* __nonnull <a class="code" href="interface_j_c_media_device_camera.html#ad6131a5f1d9159e02c58e6a5a89d65e6">cameraId</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_camera.html#a07d74d5c8e2cbd502dbd874c5465e8d1">   33</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString* __nonnull <a class="code" href="interface_j_c_media_device_camera.html#a07d74d5c8e2cbd502dbd874c5465e8d1">cameraName</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_camera.html#a07f93b66d728beea1bed69d56ae70ee6">   42</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <a class="code" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga74e6ac01bc0d3d5ca9ab9d7a13d0d8c1">JCMediaDeviceCameraType</a> <a class="code" href="interface_j_c_media_device_camera.html#a07f93b66d728beea1bed69d56ae70ee6">cameraType</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_audio.html">   49</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_j_c_media_device_audio.html">JCMediaDeviceAudio</a> : NSObject</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_audio.html#ae39ba9fb3b5a8cc08ab285bf1064e3bc">   54</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString* __nonnull audioId;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_audio.html#aedd278238b954deb690cfc9a65e42d31">   59</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString* __nonnull audioName;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_audio.html#ac768928ba530a22a794fc21d872a766b">   64</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">bool</span> input;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_window.html">   71</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_j_c_media_device_window.html">JCMediaDeviceWindow</a> : NSObject</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_window.html#aaedcdf9f02b079d68924c3453d01b711">   76</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString* __nonnull windowId;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_window.html#a603b034847b4e08dc70f6d4e1aef435e">   81</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString* __nonnull windowName;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_audio_param.html">   88</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_j_c_media_device_audio_param.html">JCMediaDeviceAudioParam</a> : NSObject</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_audio_param.html#afcd6b5f67f130fc2db1e65d9385afeb3">   95</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <span class="keywordtype">int</span> audioInputSamplingRate;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_audio_param.html#a5105d0a543ae494f3ce02ecae4a96f62">  102</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <span class="keywordtype">int</span> audioOutputSamplingRate;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_audio_param.html#aa0852b82f3f35658753867c8a4c4554a">  109</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <span class="keywordtype">int</span> audioInputChannelNumber;</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="interface_j_c_media_device_audio_param.html#a1d3adce246399ae08f0f2d6da280a5ef">  116</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <span class="keywordtype">int</span> audioOutputChannelNumber;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html">  124</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_j_c_media_device.html">JCMediaDevice</a> : NSObject</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a3409eea29b0a4f1abb20236e49116532">  131</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">bool</span> cameraOpen;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a4b87583f19d3ed15bf92cf518786e6ff">  138</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">bool</span> videoFileOpen;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#aa26bd62b1189821023178a91196f8af2">  143</a></span>&#160;<span class="keyword">@property</span> (nonatomic, strong, readonly) <a class="code" href="interface_j_c_media_device_camera.html">JCMediaDeviceCamera</a>* __nullable camera;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a011a216aa0d0f861045554584fc6c273">  148</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSArray&lt;JCMediaDeviceCamera*&gt; *  __nonnull cameras;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a4d1702816015e3db4ac78179df91a85a">  153</a></span>&#160;<span class="keyword">@property</span> (nonatomic, strong) <a class="code" href="interface_j_c_media_device_camera.html">JCMediaDeviceCamera</a>* __nullable defaultCamera;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a204fb6e8e2092bcf294301b73e3547ff">  158</a></span>&#160;<span class="keyword">@property</span> (nonatomic, strong) <a class="code" href="interface_j_c_media_device_audio_param.html">JCMediaDeviceAudioParam</a> * _Nonnull audioParam;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a73298097557a68e40cfa310d3904144b">  163</a></span>&#160;<span class="keyword">@property</span> (nonatomic, strong, readonly) NSString* __nonnull videoFileId;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a4db1d01b84f9a27ca7dc5991e0c485f0">  168</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">bool</span> audioInterrupt;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a5db9ccc9795dd55218664d6cd2dce1d9">  179</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <a class="code" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#gac5a0d69d1e6c0b83597d53b160af6800">JCMediaDeviceVideoAngel</a> videoAngle;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160; </div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a5435b161152de8a694d99907375de63b">  193</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <span class="keywordtype">bool</span> useInternalAudioDeviceLogic;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#ad37b4e6a77db2ffc8de0d21113df5234">  203</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">bool</span> audioStart;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="preprocessor">#if TARGET_OS_OSX</span></div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#aeb7d33d696dbec758c9bff68c6a035e9">  209</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSArray&lt;JCMediaDeviceAudio*&gt;* __nonnull audioInputs;</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a1af54718dbf3617ba4855666d136c900">  214</a></span>&#160;<span class="keyword">@property</span> (nonatomic, strong) <a class="code" href="interface_j_c_media_device_audio.html">JCMediaDeviceAudio</a>* __nullable audioInput;</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a8c3448666d7011f7b51ed09d0e55e640">  219</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSArray&lt;JCMediaDeviceAudio*&gt;* __nonnull audioOutputs;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160; </div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#ab5af8195f04a9740cba045b778c158da">  224</a></span>&#160;<span class="keyword">@property</span> (nonatomic, strong) <a class="code" href="interface_j_c_media_device_audio.html">JCMediaDeviceAudio</a>* __nullable audioOutput;</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160; </div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a42fe4885ba692bea1c809eae18d42f99">  229</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSArray&lt;JCMediaDeviceWindow*&gt;* __nonnull desktops;</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#aa51768e835c6745da3b714e47309aa74">  234</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSArray&lt;JCMediaDeviceWindow*&gt;* __nonnull windows;</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160; </div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#a6f72ec5fb1f5f0cca8585b12b09eb524">  239</a></span>&#160;<span class="keyword">@property</span> (nonatomic, strong) <a class="code" href="interface_j_c_media_device_window.html">JCMediaDeviceWindow</a>* __nullable screenshareWindow;</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160; </div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;+(<a class="code" href="interface_j_c_media_device.html">JCMediaDevice</a>* __nullable)create:(<a class="code" href="interface_j_c_client.html">JCClient</a>* __nonnull)client callback:(<span class="keywordtype">id</span>&lt;<a class="code" href="protocol_j_c_media_device_callback-p.html">JCMediaDeviceCallback</a>&gt; __nonnull)callback;</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160; </div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;+(void)destroy;</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;-(<a class="code" href="interface_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a>* __nullable)startCameraVideo:(<a class="code" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga22a1fb216a9252ce2ef1afb257e530f2">JCMediaDeviceRender</a>)type;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;-(<a class="code" href="interface_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a>* __nullable)startCameraVideo:(<a class="code" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga22a1fb216a9252ce2ef1afb257e530f2">JCMediaDeviceRender</a>)type view:(<a class="code" href="_j_c_media_device_video_canvas_8h.html#a8681d2280b42cc393b64f1737ddbb032">JCView</a>* __nonnull)view;</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160; </div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;-(<a class="code" href="interface_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a>* __nullable)startVideo:(NSString* __nonnull)videoSource renderType:(<a class="code" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga22a1fb216a9252ce2ef1afb257e530f2">JCMediaDeviceRender</a>)type;</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160; </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;-(<a class="code" href="interface_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a>* __nullable)startVideo:(NSString* __nonnull)videoSource renderType:(<a class="code" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga22a1fb216a9252ce2ef1afb257e530f2">JCMediaDeviceRender</a>)type view:(<a class="code" href="_j_c_media_device_video_canvas_8h.html#a8681d2280b42cc393b64f1737ddbb032">JCView</a>* __nonnull)view;</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160; </div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;-(void)stopVideo:(<a class="code" href="interface_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a>* __nonnull)canvas;</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160; </div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;-(bool)startAudio;</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160; </div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;-(bool)stopAudio;</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160; </div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;-(bool)startCamera;</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160; </div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;-(bool)stopCamera;</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160; </div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;-(bool)switchCamera;</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160; </div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;-(bool)switchCamera:(<a class="code" href="interface_j_c_media_device_camera.html">JCMediaDeviceCamera</a>* __nonnull)camera;</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160; </div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;- (void)setCameraProperty:(<span class="keywordtype">int</span>)width height:(<span class="keywordtype">int</span>)height framerate:(<span class="keywordtype">int</span>)framerate;</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160; </div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;- (void)setScreenCaptureProperty:(<span class="keywordtype">int</span>)width height:(<span class="keywordtype">int</span>)height framerate:(<span class="keywordtype">int</span>)framerate;</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160; </div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;-(bool)startVideoFile;</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160; </div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;-(void)setVideoFileFrame:(NSData* __nonnull)srcFrame format:(<a class="code" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#gaa89a37b09ffcd4fafd6ac4006214abd9">JCMediaDeviceVideoPixelFormat</a>)format width:(<span class="keywordtype">int</span>)width height:(<span class="keywordtype">int</span>)height;</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160; </div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;-(void)setVideoFileFrame:(CVPixelBufferRef __nonnull)srcFrame angle:(<span class="keywordtype">int</span>)angle mirror:(<span class="keywordtype">int</span>)mirror;</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160; </div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;-(bool)stopVideoFile;</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160; </div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;<span class="preprocessor">#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR</span></div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160; </div>
<div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="interface_j_c_media_device.html#ad7d3f47faa205d9b593c5112cf8847cc">  499</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <span class="keywordtype">bool</span> defaultSpeakerOn;</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160; </div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;-(void)enableSpeaker:(<span class="keywordtype">bool</span>)enable;</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160; </div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;-(NSString* __nullable)getAudioOutputType;</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160; </div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;-(bool)isSpeakerOn;</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160; </div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="ainterface_j_c_media_device_camera_html_a07f93b66d728beea1bed69d56ae70ee6"><div class="ttname"><a href="interface_j_c_media_device_camera.html#a07f93b66d728beea1bed69d56ae70ee6">JCMediaDeviceCamera::cameraType</a></div><div class="ttdeci">JCMediaDeviceCameraType cameraType</div><div class="ttdef"><b>Definition:</b> JCMediaDevice.h:42</div></div>
<div class="ttc" id="agroup___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97_html_gac5a0d69d1e6c0b83597d53b160af6800"><div class="ttname"><a href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#gac5a0d69d1e6c0b83597d53b160af6800">JCMediaDeviceVideoAngel</a></div><div class="ttdeci">JCMediaDeviceVideoAngel</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceConstants.h:81</div></div>
<div class="ttc" id="ainterface_j_c_media_device_audio_param_html"><div class="ttname"><a href="interface_j_c_media_device_audio_param.html">JCMediaDeviceAudioParam</a></div><div class="ttdef"><b>Definition:</b> JCMediaDevice.h:89</div></div>
<div class="ttc" id="a_j_c_media_device_callback_8h_html"><div class="ttname"><a href="_j_c_media_device_callback_8h.html">JCMediaDeviceCallback.h</a></div></div>
<div class="ttc" id="agroup___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97_html_gaa89a37b09ffcd4fafd6ac4006214abd9"><div class="ttname"><a href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#gaa89a37b09ffcd4fafd6ac4006214abd9">JCMediaDeviceVideoPixelFormat</a></div><div class="ttdeci">JCMediaDeviceVideoPixelFormat</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceConstants.h:45</div></div>
<div class="ttc" id="a_j_c_media_device_constants_8h_html"><div class="ttname"><a href="_j_c_media_device_constants_8h.html">JCMediaDeviceConstants.h</a></div></div>
<div class="ttc" id="ainterface_j_c_media_device_window_html"><div class="ttname"><a href="interface_j_c_media_device_window.html">JCMediaDeviceWindow</a></div><div class="ttdef"><b>Definition:</b> JCMediaDevice.h:72</div></div>
<div class="ttc" id="aprotocol_j_c_media_device_callback-p_html"><div class="ttname"><a href="protocol_j_c_media_device_callback-p.html">JCMediaDeviceCallback-p</a></div><div class="ttdef"><b>Definition:</b> JCMediaDeviceCallback.h:20</div></div>
<div class="ttc" id="a_j_c_media_device_video_canvas_8h_html_a8681d2280b42cc393b64f1737ddbb032"><div class="ttname"><a href="_j_c_media_device_video_canvas_8h.html#a8681d2280b42cc393b64f1737ddbb032">JCView</a></div><div class="ttdeci">#define JCView</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceVideoCanvas.h:13</div></div>
<div class="ttc" id="ainterface_j_c_media_device_html"><div class="ttname"><a href="interface_j_c_media_device.html">JCMediaDevice</a></div><div class="ttdef"><b>Definition:</b> JCMediaDevice.h:125</div></div>
<div class="ttc" id="agroup___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97_html_ga74e6ac01bc0d3d5ca9ab9d7a13d0d8c1"><div class="ttname"><a href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga74e6ac01bc0d3d5ca9ab9d7a13d0d8c1">JCMediaDeviceCameraType</a></div><div class="ttdeci">JCMediaDeviceCameraType</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceConstants.h:97</div></div>
<div class="ttc" id="a_j_c_media_device_video_canvas_8h_html"><div class="ttname"><a href="_j_c_media_device_video_canvas_8h.html">JCMediaDeviceVideoCanvas.h</a></div></div>
<div class="ttc" id="agroup___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97_html_ga22a1fb216a9252ce2ef1afb257e530f2"><div class="ttname"><a href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga22a1fb216a9252ce2ef1afb257e530f2">JCMediaDeviceRender</a></div><div class="ttdeci">JCMediaDeviceRender</div><div class="ttdef"><b>Definition:</b> JCMediaDeviceConstants.h:33</div></div>
<div class="ttc" id="a_j_c_client_8h_html"><div class="ttname"><a href="_j_c_client_8h.html">JCClient.h</a></div></div>
<div class="ttc" id="ainterface_j_c_media_device_camera_html_a07d74d5c8e2cbd502dbd874c5465e8d1"><div class="ttname"><a href="interface_j_c_media_device_camera.html#a07d74d5c8e2cbd502dbd874c5465e8d1">JCMediaDeviceCamera::cameraName</a></div><div class="ttdeci">NSString *__nonnull cameraName</div><div class="ttdef"><b>Definition:</b> JCMediaDevice.h:33</div></div>
<div class="ttc" id="ainterface_j_c_media_device_audio_html"><div class="ttname"><a href="interface_j_c_media_device_audio.html">JCMediaDeviceAudio</a></div><div class="ttdef"><b>Definition:</b> JCMediaDevice.h:50</div></div>
<div class="ttc" id="ainterface_j_c_media_device_video_canvas_html"><div class="ttname"><a href="interface_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a></div><div class="ttdef"><b>Definition:</b> JCMediaDeviceVideoCanvas.h:28</div></div>
<div class="ttc" id="ainterface_j_c_media_device_camera_html_ad6131a5f1d9159e02c58e6a5a89d65e6"><div class="ttname"><a href="interface_j_c_media_device_camera.html#ad6131a5f1d9159e02c58e6a5a89d65e6">JCMediaDeviceCamera::cameraId</a></div><div class="ttdeci">NSString *__nonnull cameraId</div><div class="ttdef"><b>Definition:</b> JCMediaDevice.h:28</div></div>
<div class="ttc" id="ainterface_j_c_client_html"><div class="ttname"><a href="interface_j_c_client.html">JCClient</a></div><div class="ttdef"><b>Definition:</b> JCClient.h:94</div></div>
<div class="ttc" id="ainterface_j_c_media_device_camera_html"><div class="ttname"><a href="interface_j_c_media_device_camera.html">JCMediaDeviceCamera</a></div><div class="ttdef"><b>Definition:</b> JCMediaDevice.h:24</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
